package com.imddy.tweb.task.timer;

import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.TimerTask;

public class HelloTimeTask extends TimerTask{

	@Override
	public void run() {
		SimpleDateFormat simpleDateFormat = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss");
		String dataString = simpleDateFormat.format(new Date());
		System.out.println("Current times Exec: " + dataString );
		
		
	}

}
